import random
with open("MAC.txt","w+",encoding="utf-8") as f:
   for x in range(1,101):
        str1 = random.choice("0123456789ABCDEF")
        str2 = random.choice("0123456789ABCDEF")
        str3 = random.choice("0123456789ABCDEF")
        str4 = random.choice("0123456789ABCDEF")
        str5 = random.choice("0123456789ABCDEF")
        str6 = random.choice("0123456789ABCDEF")
        for i in str1:
            for j in str2:
                t = f"{i}{j}"
        for k in str3:
            for l in str4:
                p = f"{k}{l}"
        for m in str5:
            for n in str6:
                q = f"{m}{n}"
        f.write(f"第{x}个MAC地址为:01-AF-3B-{t}-{p}-{q}\n")

